package com.ego.vo;

import java.util.Date;
import java.util.List;

/**
 * @author 袁梦达 2019012364
 */
public class OrderVo {
    private Integer orderId;
    private String userNumber;
    private Date orderTime;
    private Integer quantity;
    private double sumPrice;
    private List<OrderItemVo> orderItemVoList;

    public OrderVo() {
    }

    public OrderVo(Integer orderId, String userNumber, Date orderTime, Integer quantity, double sumPrice, List<OrderItemVo> orderItemVoList) {
        this.orderId = orderId;
        this.userNumber = userNumber;
        this.orderTime = orderTime;
        this.quantity = quantity;
        this.sumPrice = sumPrice;
        this.orderItemVoList = orderItemVoList;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public double getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(double sumPrice) {
        this.sumPrice = sumPrice;
    }

    public List<OrderItemVo> getOrderItemVoList() {
        return orderItemVoList;
    }

    public void setOrderItemVoList(List<OrderItemVo> orderItemVoList) {
        this.orderItemVoList = orderItemVoList;
    }
}
